package com.huawei.appgallery.updatemanager.ui.fragment;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import com.huawei.appgallery.foundation.ui.framework.cardkit.widget.CardListAdapter;
import o.chz;
import o.cia;
import o.cie;
import o.czi;

class UpdateCardListAdapter extends CardListAdapter {
    public UpdateCardListAdapter(Context context, cia o_cia) {
        super(context, o_cia);
    }

    public View getView(int i, View view, ViewGroup viewGroup) {
        chz ˏ = this.provider.ˏ(i);
        if (!(ˏ == null || view == null)) {
            cie o_cie = (cie) view.getTag();
            if (o_cie == null || o_cie.ͺ() != ˏ.ˋ.ͺ()) {
                czi.ˎ.ˊ("CardListAdapter", "getView convertView is error.reCreateView");
                view = null;
            }
        }
        return super.getView(i, view, viewGroup);
    }
}
